#define _CRT_SECURE_NO_WARNINGS
#include "1.19_hs.h"
int if_ss(int n)
{
	int flag = 0;
	if (n == 2)
		return 0;
	else
	{
		for (int i = 3; i < n; i += 2)
		{
			if (n % i == 0)
			{
				flag = 1;
				break;
			}
		}
	}
	return flag;
}

int pt_ss()
{
	static int n = 3;
	while (n)
	{
		int flag = 1;
		for (int i = 3; i < n; i += 2)
		{
			if (n % i == 0)
			{
				flag = 0;
				break;
			}
		}
		if (flag == 1)
		{
			n += 2;
			break;
		}
		n += 2;
	}
	return n - 2;
}